home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- **
- ** Folder Name: BS
- ** File Name: Resident.h
- **
- ** Copyright: © 1993 by Siren Enterprises, all rights reserved.
- **
- ** Description: Include file for resident code
- **
- *******************************************************************************
- ** A U T H O R I D E N T I T Y
- *******************************************************************************
- **
- ** Initials Name
- ** -------- -----------------------------------------------
- ** kw Ken Wieschhoff
- **
- *******************************************************************************
- ** R E V I S I O N H I S T O R Y
- *******************************************************************************
- **
- ** Date Time Author Description
- ** -------- ----- ------ ---------------------------------------------
- ** 06/22/93 15:15 kw 1+ Add animate lips option
- ** 05/17/93 17:34 kw Original version
- **
- ******************************************************************************/
- #ifndef __Resident__
- #define __Resident__
- #include <speech.h>
-
- //•• Structs and defines
- #define kCurrentVersion 0x0100
-
- struct Preferences {
- Boolean on_off;
- Boolean iconAtStartup;
- Boolean onlyPlayOne;
- Boolean animate;
- VoiceSpec theVoice;
- Str255 theText;
- Fixed theRate;
- Fixed thePitch;
- };
-
- typedef struct Preferences Preferences;
- typedef Preferences *PreferencesPtr, **PreferencesHdl;
-
- pascal OSErr InstallTrap( void);
- TrapType GetTrapType(short theTrap);
- pascal long *OldSysBeep(void);
- pascal long *OldA5(void);
- pascal void CallOldSysBeep(duration);
-
- /* External prototypes */
- extern long A5Size(void);
- extern void A5Init(Ptr);
- pascal long GetA5();
-
-
- #endif